Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: trackers #1320

Merged
merged 48 commits into from
Oct 25, 2023
Merged

test: trackers #1320

merged 48 commits into from
Oct 25, 2023

Conversation

kingpinXD
Copy link
Contributor

@kingpinXD kingpinXD commented Oct 19, 2023

Description

Closes: #1269
Closes: #1321

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Include instructions and any relevant details so others can reproduce.

  • Tested CCTX in localnet
  • Tested in development environment
  • Go unit tests
  • Go integration tests
  • Tested via GitHub Actions

Checklist:

  • I have added unit tests that prove my fix feature works

@kingpinXD kingpinXD changed the title Intx tracker tests test: trackers Oct 19, 2023
Copy link
Member

@lumtis lumtis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tests looks good to me. Left a few comments.

testutil/keeper/crosschain.go Show resolved Hide resolved
x/crosschain/keeper/msg_server_add_to_intx_tracker.go Outdated Show resolved Hide resolved
x/crosschain/keeper/msg_server_add_to_intx_tracker.go Outdated Show resolved Hide resolved
x/crosschain/keeper/msg_server_add_to_intx_tracker.go Outdated Show resolved Hide resolved
x/crosschain/keeper/msg_server_add_to_intx_tracker_test.go Outdated Show resolved Hide resolved
x/crosschain/keeper/msg_server_add_to_intx_tracker.go Outdated Show resolved Hide resolved
x/crosschain/keeper/msg_server_add_to_intx_tracker.go Outdated Show resolved Hide resolved
x/crosschain/keeper/msg_server_add_to_intx_tracker_test.go Outdated Show resolved Hide resolved
@kingpinXD kingpinXD requested a review from lumtis October 20, 2023 20:43
Copy link
Member

@lumtis lumtis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me.
I think one of the test is failed because there is a setAdminPolicies(ctx, zk, admin) missing

Copy link
Contributor

@ws4charlie ws4charlie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good

@kingpinXD kingpinXD merged commit 0c3d90f into develop Oct 25, 2023
13 checks passed
@lumtis lumtis deleted the intx_tracker-tests branch October 27, 2023 23:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

crosschain : add tests for out_tx_tracker crosschain : add tests for in_tx_tracker
3 participants